#include <stdio.h>

int main() {
	double i = 1.00;
	double a = 0;
	double sum = 0;

	for (i = 1.00; i <= 100; i++) {
		a = 1 / i;
		sum += a;
	}

	printf("%.10lf", sum);

	return 0;
}